2020-2021 Sunseeker Telemetry and Lighting System
lcd_c_ex1_4mux.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

int main (void)
 

Function Documentation

◆ main()

int main ( void  )

LCD_C, 4-Mux example, display a string "123456" on LCD if breakpoint. Displays "Ue9A68" if program is run all the way. This examples shows how to config LCD in 4-Mux mode with DriverLib functions. The internal voltage is sourced to v2 through v4 and v5 is connected to ground. Charge pump is enabled.

It uses LCD pin L0~L21 and L26~L43 as segment pins. f(LCD) = 32768Hz/((1+1)*2^4) = 1024Hz, ACLK = ~32768Hz, MCLK = SMCLK = default DCODIV ~1MHz.

        MSP-EXP430FR6989
        -----------------
    /|\|                 |
     | |              XIN|--

GND –|RST | ~32768Hz | | XOUT|– | | | COM3|-------------—| | | COM2|------------—|| |–4.7uF -|LCDCAP COM1|-----------—||| | COM0|----------—|||| | | ----------— | L0~L21|—| 1 2 3 4 5 6 | | L26~L43| ----------— | | TI LCD

This example uses the following peripherals and I/O signals on MSP-EXP430FR6989. You must review these and change as needed for your own board:

  • LCD
  • GPIO Port peripheral (for LCD pins)

Rough picture representation of hex value representation to physical lines on a LCD_C lower upper line line segment segment \ 0x8 0x4 |____0x4 0x2 0x1 | 0x8 ___/ 0x2 / 0x1

Definition at line 70 of file lcd_c_ex1_4mux.c.

References __no_operation().